import httpAxios from "./httpAxios";
// import axios from "axios";
// 登录注册
export const _userLogin = (params) => httpAxios.post('/login',params);
export const _userRegisty = (params) => httpAxios.post('/registry',params);
export const _getCaptchaVerify = () => httpAxios.get('/verify');
// 获取地址列表
export const _getAddrList = () => httpAxios.get('/addrlist');
// 添加
export const _addAddrList = (params) => httpAxios.post('/addrlist',params);
// 编辑
export const _editAddrList = (params) => httpAxios.put('/addrlist/'+params.id,params);
// 删除
export const _delAddrList = (params) => httpAxios.delete('/addrlist/'+params);
// 默认地址
export const _createDefault = (params) => httpAxios.post('/addrlistput',params)